//
//  ConsumeAction.m
//  JinFuThree
//
//  Created by 爱尚 on 2018/8/29.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "ConsumeAction.h"
#import "ConsumeViewController.h"
#import "Consume_GoodsDetailViewController.h"

@implementation ConsumeAction

- (UIViewController *)mainViewController{
    ConsumeViewController *consumeVC = [[ConsumeViewController alloc]init];
    return consumeVC;
}

-(nonnull UIViewController*)goodsDetailViewController:(nonnull NSDictionary<NSString*, id> *)parameters{
    
    NSString *goodsId = parameters[@"goodsId"];
    
    Consume_GoodsDetailViewController *controller = [[Consume_GoodsDetailViewController alloc]init];
    controller.goodsId = goodsId;
    return controller;
    
}

@end
